/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.insta.calendarMicroBlogage;

import com.kx.insta.traitement.SocialNetworkBeanInterface;

import com.kx.insta.traitement.TwitterBean;
//import com.sun.j3d.loaders.Scene;
import remixlab.proscene.Scene;

import g4p_controls.GWindow;
import processing.core.PApplet;
import java.awt.Frame;
import java.awt.BorderLayout;
import controlP5.*;



/**
 *
 * @author liban
 */
public abstract class CreateScene extends PApplet{
    Scene scene;
    GWindow window;
    Boolean CloseWindow;
    String Myname;
    private ControlP5 cp5;
    public TwitterBean social;
    
    // Constructeur 
    public CreateScene(){
        setCloseWindow(false);
    }
    
    public abstract void setup();
    public abstract void draw();
    
    // getters and setters  
    public SocialNetworkBeanInterface getSocial() {
        return social;
    }

    public void setSocial(TwitterBean social) {
        this.social = social;
    }
    
    
    public Scene getScene() {
        return scene;
    }

    public void setScene(Scene scene) {
        this.scene = scene;
    }

    public GWindow getWindow() {
        return window;
    }

    public void setWindow(GWindow window) {
        this.window = window;
    }

    public Boolean isCloseWindow() {
        return CloseWindow;
    }

    public void setCloseWindow(Boolean CloseWindow) {
        this.CloseWindow = CloseWindow;
    }

    public String getMyname() {
        return Myname;
    }

    public void setMyname(String Myname) {
        this.Myname = Myname;
    }
    
    
    
    // methode 
    
    public  abstract void createWindows(String witchWindow, boolean CloseWindow);
    
    public abstract void windowClosing(GWindow w);
}